import Vue from 'vue';
import Abnormal from './index.vue';

// 处理注入的参数
let initData = {};

try {
  initData = window._init || {};
} catch (error) {
  console.warn(error)
  console.warn('no init data')
}

let app = {
  provide: {
    initData: Object.freeze(initData)
  },
  render: h => h(Abnormal)
}


export default app;